﻿using System;
using MongoDB.Bson.Serialization.Attributes;
using Sustainalytics.Entities;

namespace Sustainalytics.ESG.Entities
{
    [BsonIgnoreExtraElements]
    public class RPCompanyProfile : IEntity
    {
        public Guid Id { get; set; }
        public int CapitalIqId { get; set; }
        public string CompanyName { get; set; }

        public Guid AnalystId { get; set; }
        public string AnalystCommentary { get; set; }

        public DateTime LastAnnualReportDate { get; set; }
        public DateTime LastCSRDate { get; set; }
        public DateTime LastFeedbackRequestDate { get; set; }
        public DateTime LastFeedbackReceivedDate { get; set; }
        public string SPLCode { get; set; }

        public DateTime LastFullReviewDate { get; set; } //LastUpdate (LastComprehensiveUpdate) from CorporateData
        public DateTime LastUpdate { get; set; } //LastFinalUpdate from CorporateData

        public bool HasFullESGResearch { get; set; }
    }
}
